package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Room;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IRoomService {

    void saveOrUpdate(Room room);


    PageInfo query(QueryObject qo);


    List<Room> listRoomByHotleId(Long hotelId);

    Room queryRoomById(Long id);

    void changeSumById(Long id);

    Room queryCurrentSum(Long id);
}